package com.cisystem.system.mapper;

import java.util.List;

import com.cisystem.system.domain.GoodCatch;

/**
 * GoodCatchMapper接口
 *
 * @author kelly
 * @date 2023-07-08
 */
public interface GoodCatchMapper {
    /**
     * 查询GoodCatch
     *
     * @param id GoodCatch主键
     * @return GoodCatch
     */
    public GoodCatch selectGoodCatchById(Long id);

    /**
     * 查询GoodCatch列表
     *
     * @param goodCatch GoodCatch
     * @return GoodCatch集合
     */
    public List<GoodCatch> selectGoodCatchList(GoodCatch goodCatch);

    /**
     * 新增GoodCatch
     *
     * @param goodCatch GoodCatch
     * @return 结果
     */
    public int insertGoodCatch(GoodCatch goodCatch);

    /**
     * 修改GoodCatch
     *
     * @param goodCatch GoodCatch
     * @return 结果
     */
    public int updateGoodCatch(GoodCatch goodCatch);

    /**
     * 删除GoodCatch
     *
     * @param id GoodCatch主键
     * @return 结果
     */
    public int deleteGoodCatchById(Long id);

    /**
     * 批量删除GoodCatch
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGoodCatchByIds(Long[] ids);

    int reClosedGoodCatchByIds(Long[] ids);
}
